package dimdidu.board.product;

import java.util.ArrayList;
import java.util.List;

import dimdidu.interface_class.RdbmsDAO;

public class BoardProductDAO extends RdbmsDAO{
	private static BoardProductDAO instance;
	public static BoardProductDAO getInstance(){
		if(instance==null){
			instance = new BoardProductDAO();
		}
		
		return instance;
	}
	
	private BoardProductDAO(){}
	

	public int createProduct(BoardProductVO product){
		int count=0;
		
		return count;
	}
	
	public int modifyProduct(BoardProductVO product){
		int count=0;
		
		return count;
	}
	
	public int deleteNoProduct(int productNo){
		int count=0;
		
		return count;
	}
	
	public BoardProductVO findNoticeByNo(int productNo){
		BoardProductVO product=null;
		
		
		return product;
	}
	
	public List<BoardProductVO> findAllProduct(){
		List productList = new ArrayList<BoardProductVO>();
		
		return productList;
	}
	
	public List<BoardProductVO> findProductByTitle(String title){
		List productList = new ArrayList<BoardProductVO>();
		
		return productList;
	}
	
	public List<BoardProductVO> findNProductByType(String type){
		List productList = new ArrayList<BoardProductVO>();
		
		return productList;
	}

}
